package com.zgp.domain.pojo;

import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 规则实体
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Rule {

    @JsonPropertyDescription("规则ID")
    private String id;

    @JsonPropertyDescription("规则类型")
    private String type;

    @JsonPropertyDescription("触发条件")
    private String condition;

    @JsonPropertyDescription("规则描述")
    private String description;
}